<?php
$charset = $_GET['charset']?$_GET['charset']:'gbk';
header('Content-Type:text/html;charset='.$charset);
require_once($_SERVER['DOCUMENT_ROOT']."/collect/reset/t.class.php");
require_once(APP_PATH . "Common/yzs1013_pldr.php");
$t=new t($config[DB_HOST],$config[DB_USER],$config[DB_PWD]);
//$t->connect($config[DB_HOST],$config[DB_USER],$config[DB_PWD]);
$t->select_db("longzs");
$t->setutf8();
$ku=$t->sql("select id,url,sm from urls where hidden=0 or hidden is null order by px");
//http://collect.longsunhd.com/actives/index.php
?>
<table class="tb tb2 " id="tips">
  <tr><th  class="partition"></th></tr>
  <tr>
    <td class="tipsblock" s="1">
      <ul id="tipslis">
        <li>&#40857;&#25235;&#25163;QQ&#32676;&#65306;257599959(<font color="#FF0000"></font>),&nbsp;&nbsp;228532444</li>
		<?php
            $title="";
			$title=($_GET['charset']!="gbk"&&$_GET['charset']!="")?g($title):$title;
			echo "<li>".$title."</li><ul>";
            while($rs=mysql_fetch_array($ku)){
			if($_GET['charset']=="gbk"||$_GET['charset']==""){
                 $rs[sm]=g($rs[sm]);
            }
			?>
		
        <li><a target=_blank href="<?php echo $rs[url];?>"><?php echo $rs[url];?></a><?php echo $rs[sm];?></li>
		<?php }?></ul>
      </ul>
    </td>
  </tr>
</table>
<script src="http://s23.cnzz.com/stat.php?id=4672478&web_id=4672478&show=pic1" language="JavaScript"></script>
